package com.thirteengroup.casemg.domain;

public class queryObject {

    private int currentPage=1;
    private int PageSize=5;
    private int startIndex;
    private String keyword;
    private Long deptid;
    private String status;
    private String querystatus;
    private String type;

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getPageSize() {
        return PageSize;
    }

    public void setPageSize(int pageSize) {
        PageSize = pageSize;
    }

    public int getStartIndex() {
        return (this.currentPage-1)*this.PageSize;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Long getDeptid() {
        return deptid;
    }


    public void setDeptid(Long deptid) {
        this.deptid = deptid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getQuerystatus() {
        return querystatus;
    }

    public void setQuerystatus(String querystatus) {
        this.querystatus = querystatus;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "queryObject{" +
                "currentPage=" + currentPage +
                ", PageSize=" + PageSize +
                ", startIndex=" + startIndex +
                ", keyword='" + keyword + '\'' +
                ", deptid=" + deptid +
                ", status='" + status + '\'' +
                ", querystatus='" + querystatus + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
